<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="js/shadowbox-3.0.3/shadowbox.js"></script>
<link rel="stylesheet" type="text/css" href="js/shadowbox-3.0.3/shadowbox.css">
<script language="javascript" src="js/kjullascripts.js"></script>
<script type='text/javascript'>
Shadowbox.init();
googleUrl = "http://picasaweb.google.com/data/feed/api/user/oliivars";
params = "?alt=jsonc&thumbsize=160&v=2&callback=?";

<?
$albumId = $_GET['albumid'];
$page = $_GET['p'];

if ( $page == "content_albums" )
{
	echo "url = googleUrl + params;";
	echo "$.getJSON(url, loadAlbums);";
}
else if ( $page == "content_photos" )
{
	echo "url = googleUrl + '/albumid/$albumId' + params; ";
	echo "$.getJSON(url, loadPictures);" ;
}
else if ( $page == "content_videos")
{
	echo "url = 'http://gdata.youtube.com/feeds/api/videos?author=oivarsson&v=2&format=5&alt=jsonc&callback=?';";
	echo "$.getJSON(url, loadVideos);";
}
?>

</script>
<title>BOTT.IS</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="styles.css" type="text/css" />
</head>
<body>
	<div id="wrap">
		<div id="head">
			<div id="nav">
				<a id="picLink" href="?p=content_albums" ></a>
				<a id="videoLink" href="?p=content_videos" ></a>
				<a id="homeLink" href="#" ></a>
			</div>
		</div>
		<div id="content" >
			Velkomin.
		</div>
		<div id="foot"></div>
	</div>
</body>
</html>